#ifndef ORDER_WIDGET_UI_H
#define ORDER_WIDGET_UI_H

#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QPixmap>
#include <QPushButton>
#include <QVBoxLayout>
#include <QWidget>
#include "ip_port.h"
class OrderWidgetUI : public QWidget
{
    Q_OBJECT

public:
    explicit OrderWidgetUI(QWidget *parent = nullptr);
    ~OrderWidgetUI();

    // Expose UI elements or helper methods if logic needs access
    void addProductInfo(QGridLayout *layout,
                        int &row,
                        const QString &imagePath,
                        const QString &name,
                        double price,
                        int quantity);
    QLabel *getLabel12() const;

private:
    void setupUi();

    QLabel *label_12;
    QGridLayout *gridLayout;
};

#endif // ORDER_WIDGET_UI_H
